Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't upload RPM packages to Pulp as artifacts #3391

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

FrostyX
Copy link
Member

@FrostyX FrostyX commented Aug 28, 2024

Fix pulp/pulp_rpm#3719

Instead of uploading RPM packages as artifacts in one API call, and then creating a content from them in a separate call, we will now create the content directly.

There are mutiple reasons to do so:

  • One API call instead of two
  • It fixes the issue with installing packages mentioned above
  • @dkliban says there is an effort to not allow uploading artifacts on shared Pulp instances

There is only one disadvantage of doing this, we lose track of what RPM packages belong to a specific Copr build ID. We will use labels for this, once they are implemented.

See pulp/pulpcore#3338 (comment)

Fix pulp/pulp_rpm#3719

Instead of uploading RPM packages as artifacts in one API call, and
then creating a content from them in a separate call, we will now
create the content directly.

There are mutiple reasons to do so:

- One API call instead of two
- It fixes the issue with installing packages mentioned above
- @dkliban says there is an effort to not allow uploading artifacts on
  shared Pulp instances

There is only one disadvantage of doing this, we lose track of what
RPM packages belong to a specific Copr build ID. We will use labels
for this, once they are implemented.

See pulp/pulpcore#3338 (comment)
@FrostyX FrostyX added the pulp label Aug 28, 2024
@praiskup praiskup merged commit 5396d1c into fedora-copr:main Sep 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect package location in metadata when relative path contains a /
2 participants